public class ArrayAssign {
	public static void main(String[] args){
		int n1 = 10;
		int n2 = 80;

		int[] arr1 = {1,2,3};
		int[] arr2 = arr1;
		arr2[0] = 10;//arr1的值也会改变，因为引用变量传的是地址（本质也是值传递，只不过值是地址）

		System.out.println("arr1[0] = " + arr1[0]);
	}
}